package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Data;

/**
 * cences_appstore_register
 * @author 
 */
@Data
@ApiModel("")
public class CencesAppstoreRegister implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 记录日期
     */
    @ApiModelProperty("记录日期")
    private Integer time;

    /**
     * 渠道
     */
    @ApiModelProperty("渠道")
    private String appStore;

    /**
     * 注册数
     */
    @ApiModelProperty("注册数")
    private Integer register;

    /**
     * 新增设备数
     */
    @ApiModelProperty("新增设备数")
    private Integer deviceNum;

    /**
     * 应用id
     */
    @ApiModelProperty("应用id")
    private Integer appId;

    private static final long serialVersionUID = 1L;

    public CencesAppstoreRegister() {
    }

    public CencesAppstoreRegister(Integer time, Integer appId) {
        this.createTime = LocalDate.now();
        this.time = time;
        this.appStore = "";
        this.register = 0;
        this.deviceNum = 0;
        this.appId=appId;
    }
}